package com.example.design.strategy.promotion;

/**
 * @Description 打九折-具体策略类
 * @ClassName Dis9Discount
 * @Author Yumuhui
 * @Date 2020/5/15 0:31
 * @Version 1.0.0
 */
public class NoneDiscount extends Discount{
    public NoneDiscount() {
        super("不参与优惠活动");
    }

    @Override
    double discountMethod(double price) {
        finalPrice = price;
        return finalPrice;
    }
}
